package com.sanpu.kxe.business.main.view;

import android.view.View;

import com.sanpu.kxe.R;
import com.sanpu.kxe.base.BaseTitleActivity;
import com.sanpu.kxe.utils.IntentTool;

import butterknife.OnClick;

/**
 * Description：素材库
 * Created by 薛勇军 on 2019/9/27.
 */

public class MaterialLibraryActivity extends BaseTitleActivity {

    @Override
    protected int getLayoutResID() {
        return R.layout.activity_material_library;
    }

    @Override
    protected void initView() {
        super.initView();
        commonTitle.setTitle("素材库");
    }

    @OnClick({R.id.promoteImageLl, R.id.promoteVideoLl})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.promoteImageLl:
                IntentTool.startActivity(mContext, MaterialPosterActivity.class);
                break;
            case R.id.promoteVideoLl:
                IntentTool.startActivity(mContext, MaterialVideoActivity.class);
                break;
        }
    }

    @Override
    protected boolean hasBindEventBus() {
        return false;
    }
}
